package com.dffl.es.esstudy.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TSpu implements Serializable {
    @ApiModelProperty(value = "pk")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String spuName;

    @ApiModelProperty(value = "编码")
    private String spuCode;

    @ApiModelProperty(value = "副标题")
    private String spuSubtitle;

    @ApiModelProperty(value = "英文副标题")
    private String spuSubtitleEn;

    @ApiModelProperty(value = "后台类目")
    private Long spuBackCategoryId;

    @ApiModelProperty(value = "1:普通;2:组合商品;3:加工原料;4:商品辅料;5:物流辅料;6:样品;7:赠品;8:套餐商品")
    private Integer spuType;

    @ApiModelProperty(value = "首图")
    private String headerPic;

    @ApiModelProperty(value = "采购组织code")
    private String purchaseGroupId;

    @ApiModelProperty(value = "采购组code")
    private String purchaseTeamId;

    @ApiModelProperty(value = "采购员Id")
    private Long purchaserId;

    @ApiModelProperty(value = "采购员名字")
    private String purchaserName;

    @ApiModelProperty(value = "品牌id")
    private Long brandId;

    @ApiModelProperty(value = "生产厂家")
    private String manufactor;

    @ApiModelProperty(value = "生产厂家Code")
    private String manufactorCode;

    @ApiModelProperty(value = "是否进口商品")
    private Boolean isImport;

    @ApiModelProperty(value = "是否危险品")
    private Boolean isDangerous;

    @ApiModelProperty(value = "是否海淘商品")
    private Boolean isOverseas;

    @ApiModelProperty(value = "是否液体")
    private Boolean isLiquid;

    @ApiModelProperty(value = "是否易碎")
    private Boolean isBrittle;

    @ApiModelProperty(value = "详情(组合商品的详情)")
    private String detail;

    @ApiModelProperty(value = "销售单位")
    private String saleUnit;

    @ApiModelProperty(value = "库存单位")
    private String stockUnit;

    @ApiModelProperty(value = "是否按箱采购")
    private Boolean isPurchaseByBox;

    @ApiModelProperty(value = "箱规(装箱数)")
    private Integer quantityInBox;

    @ApiModelProperty(value = "包装件数(单品中内含个数，eg：一盒月饼内有6个月饼)")
    private Integer quantityInSingle;

    @ApiModelProperty(value = "单品毛重/重量（g）")
    private Integer singleGrossWeight;

    @ApiModelProperty(value = "单品净重(净含量)（g）")
    private Integer singleNetWeight;

    @ApiModelProperty(value = "单品长度（mm）")
    private Integer singleLength;

    @ApiModelProperty(value = "单品宽度（mm）")
    private Integer singleWidth;

    @ApiModelProperty(value = "单品高度（mm）")
    private Integer singleHeight;

    @ApiModelProperty(value = "原箱毛重")
    private Integer originalBoxGrossWeight;

    @ApiModelProperty(value = "原箱长度（mm）")
    private Integer originalBoxLength;

    @ApiModelProperty(value = "原箱宽度（mm）")
    private Integer originalBoxWidth;

    @ApiModelProperty(value = "原箱高度（mm）")
    private Integer originalBoxHeight;

    @ApiModelProperty(value = "包装件数")
    private Integer packageQuantity;

    @ApiModelProperty(value = "包装材质")
    private String packageMaterial;

    @ApiModelProperty(value = "包装清单")
    private String packageList;

    @ApiModelProperty(value = "存储条件（1-常温；2-低温；3-超低温）")
    private Integer storeCondition;

    @ApiModelProperty(value = "是否批次控制")
    private Boolean isUnderBatchControl;

    @ApiModelProperty(value = "批次规则（1:手工输入；2：生成日期；3：入库日期；4：供应商+生产日期 ）")
    private Integer batchRules;

    @ApiModelProperty(value = "商品图文")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private Integer creator;

    @ApiModelProperty(value = "修改人")
    private Integer modifier;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;

    @ApiModelProperty(value = "默认供应商")
    private String defaultSupplierId;

    @ApiModelProperty(value = "是否有效期管控")
    private Boolean isExpireDateManagement;

    @ApiModelProperty(value = "有效期（天）")
    private Integer expiredDay;

    @ApiModelProperty(value = "销项税(ZX-6%)(对应后台类目三级)")
    private String saleTaxCode;

    @ApiModelProperty(value = "类目税码（名称）")
    private String categoryTaxCode;

    @ApiModelProperty(value = "deprecated!来源[定制需求（供应商门户）、活动提报（供应商门户）、常规提报（供应商门户）、手工创建（运营系统）]")
    private String source;

    @ApiModelProperty(value = "是否序列号管理")
    private Boolean isSerialNoManage;

    @ApiModelProperty(value = "数据迁移临时暂用")
    private Integer mallSpuId;

    @ApiModelProperty(value = "宣传册url")
    private String brochureUrl;

    @ApiModelProperty(value = "销项税率(%)(对应后台类目三级)")
    private BigDecimal saleTaxRatio;

    @ApiModelProperty(value = "商品英文名称")
    private String spuEnName;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public String getSpuCode() {
        return spuCode;
    }

    public void setSpuCode(String spuCode) {
        this.spuCode = spuCode;
    }

    public String getSpuSubtitle() {
        return spuSubtitle;
    }

    public void setSpuSubtitle(String spuSubtitle) {
        this.spuSubtitle = spuSubtitle;
    }

    public String getSpuSubtitleEn() {
        return spuSubtitleEn;
    }

    public void setSpuSubtitleEn(String spuSubtitleEn) {
        this.spuSubtitleEn = spuSubtitleEn;
    }

    public Long getSpuBackCategoryId() {
        return spuBackCategoryId;
    }

    public void setSpuBackCategoryId(Long spuBackCategoryId) {
        this.spuBackCategoryId = spuBackCategoryId;
    }

    public Integer getSpuType() {
        return spuType;
    }

    public void setSpuType(Integer spuType) {
        this.spuType = spuType;
    }

    public String getHeaderPic() {
        return headerPic;
    }

    public void setHeaderPic(String headerPic) {
        this.headerPic = headerPic;
    }

    public String getPurchaseGroupId() {
        return purchaseGroupId;
    }

    public void setPurchaseGroupId(String purchaseGroupId) {
        this.purchaseGroupId = purchaseGroupId;
    }

    public String getPurchaseTeamId() {
        return purchaseTeamId;
    }

    public void setPurchaseTeamId(String purchaseTeamId) {
        this.purchaseTeamId = purchaseTeamId;
    }

    public Long getPurchaserId() {
        return purchaserId;
    }

    public void setPurchaserId(Long purchaserId) {
        this.purchaserId = purchaserId;
    }

    public String getPurchaserName() {
        return purchaserName;
    }

    public void setPurchaserName(String purchaserName) {
        this.purchaserName = purchaserName;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public String getManufactor() {
        return manufactor;
    }

    public void setManufactor(String manufactor) {
        this.manufactor = manufactor;
    }

    public String getManufactorCode() {
        return manufactorCode;
    }

    public void setManufactorCode(String manufactorCode) {
        this.manufactorCode = manufactorCode;
    }

    public Boolean getIsImport() {
        return isImport;
    }

    public void setIsImport(Boolean isImport) {
        this.isImport = isImport;
    }

    public Boolean getIsDangerous() {
        return isDangerous;
    }

    public void setIsDangerous(Boolean isDangerous) {
        this.isDangerous = isDangerous;
    }

    public Boolean getIsOverseas() {
        return isOverseas;
    }

    public void setIsOverseas(Boolean isOverseas) {
        this.isOverseas = isOverseas;
    }

    public Boolean getIsLiquid() {
        return isLiquid;
    }

    public void setIsLiquid(Boolean isLiquid) {
        this.isLiquid = isLiquid;
    }

    public Boolean getIsBrittle() {
        return isBrittle;
    }

    public void setIsBrittle(Boolean isBrittle) {
        this.isBrittle = isBrittle;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getSaleUnit() {
        return saleUnit;
    }

    public void setSaleUnit(String saleUnit) {
        this.saleUnit = saleUnit;
    }

    public String getStockUnit() {
        return stockUnit;
    }

    public void setStockUnit(String stockUnit) {
        this.stockUnit = stockUnit;
    }

    public Boolean getIsPurchaseByBox() {
        return isPurchaseByBox;
    }

    public void setIsPurchaseByBox(Boolean isPurchaseByBox) {
        this.isPurchaseByBox = isPurchaseByBox;
    }

    public Integer getQuantityInBox() {
        return quantityInBox;
    }

    public void setQuantityInBox(Integer quantityInBox) {
        this.quantityInBox = quantityInBox;
    }

    public Integer getQuantityInSingle() {
        return quantityInSingle;
    }

    public void setQuantityInSingle(Integer quantityInSingle) {
        this.quantityInSingle = quantityInSingle;
    }

    public Integer getSingleGrossWeight() {
        return singleGrossWeight;
    }

    public void setSingleGrossWeight(Integer singleGrossWeight) {
        this.singleGrossWeight = singleGrossWeight;
    }

    public Integer getSingleNetWeight() {
        return singleNetWeight;
    }

    public void setSingleNetWeight(Integer singleNetWeight) {
        this.singleNetWeight = singleNetWeight;
    }

    public Integer getSingleLength() {
        return singleLength;
    }

    public void setSingleLength(Integer singleLength) {
        this.singleLength = singleLength;
    }

    public Integer getSingleWidth() {
        return singleWidth;
    }

    public void setSingleWidth(Integer singleWidth) {
        this.singleWidth = singleWidth;
    }

    public Integer getSingleHeight() {
        return singleHeight;
    }

    public void setSingleHeight(Integer singleHeight) {
        this.singleHeight = singleHeight;
    }

    public Integer getOriginalBoxGrossWeight() {
        return originalBoxGrossWeight;
    }

    public void setOriginalBoxGrossWeight(Integer originalBoxGrossWeight) {
        this.originalBoxGrossWeight = originalBoxGrossWeight;
    }

    public Integer getOriginalBoxLength() {
        return originalBoxLength;
    }

    public void setOriginalBoxLength(Integer originalBoxLength) {
        this.originalBoxLength = originalBoxLength;
    }

    public Integer getOriginalBoxWidth() {
        return originalBoxWidth;
    }

    public void setOriginalBoxWidth(Integer originalBoxWidth) {
        this.originalBoxWidth = originalBoxWidth;
    }

    public Integer getOriginalBoxHeight() {
        return originalBoxHeight;
    }

    public void setOriginalBoxHeight(Integer originalBoxHeight) {
        this.originalBoxHeight = originalBoxHeight;
    }

    public Integer getPackageQuantity() {
        return packageQuantity;
    }

    public void setPackageQuantity(Integer packageQuantity) {
        this.packageQuantity = packageQuantity;
    }

    public String getPackageMaterial() {
        return packageMaterial;
    }

    public void setPackageMaterial(String packageMaterial) {
        this.packageMaterial = packageMaterial;
    }

    public String getPackageList() {
        return packageList;
    }

    public void setPackageList(String packageList) {
        this.packageList = packageList;
    }

    public Integer getStoreCondition() {
        return storeCondition;
    }

    public void setStoreCondition(Integer storeCondition) {
        this.storeCondition = storeCondition;
    }

    public Boolean getIsUnderBatchControl() {
        return isUnderBatchControl;
    }

    public void setIsUnderBatchControl(Boolean isUnderBatchControl) {
        this.isUnderBatchControl = isUnderBatchControl;
    }

    public Integer getBatchRules() {
        return batchRules;
    }

    public void setBatchRules(Integer batchRules) {
        this.batchRules = batchRules;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }

    public Integer getModifier() {
        return modifier;
    }

    public void setModifier(Integer modifier) {
        this.modifier = modifier;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getDefaultSupplierId() {
        return defaultSupplierId;
    }

    public void setDefaultSupplierId(String defaultSupplierId) {
        this.defaultSupplierId = defaultSupplierId;
    }

    public Boolean getIsExpireDateManagement() {
        return isExpireDateManagement;
    }

    public void setIsExpireDateManagement(Boolean isExpireDateManagement) {
        this.isExpireDateManagement = isExpireDateManagement;
    }

    public Integer getExpiredDay() {
        return expiredDay;
    }

    public void setExpiredDay(Integer expiredDay) {
        this.expiredDay = expiredDay;
    }

    public String getSaleTaxCode() {
        return saleTaxCode;
    }

    public void setSaleTaxCode(String saleTaxCode) {
        this.saleTaxCode = saleTaxCode;
    }

    public String getCategoryTaxCode() {
        return categoryTaxCode;
    }

    public void setCategoryTaxCode(String categoryTaxCode) {
        this.categoryTaxCode = categoryTaxCode;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Boolean getIsSerialNoManage() {
        return isSerialNoManage;
    }

    public void setIsSerialNoManage(Boolean isSerialNoManage) {
        this.isSerialNoManage = isSerialNoManage;
    }

    public Integer getMallSpuId() {
        return mallSpuId;
    }

    public void setMallSpuId(Integer mallSpuId) {
        this.mallSpuId = mallSpuId;
    }

    public String getBrochureUrl() {
        return brochureUrl;
    }

    public void setBrochureUrl(String brochureUrl) {
        this.brochureUrl = brochureUrl;
    }

    public BigDecimal getSaleTaxRatio() {
        return saleTaxRatio;
    }

    public void setSaleTaxRatio(BigDecimal saleTaxRatio) {
        this.saleTaxRatio = saleTaxRatio;
    }

    public String getSpuEnName() {
        return spuEnName;
    }

    public void setSpuEnName(String spuEnName) {
        this.spuEnName = spuEnName;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", spuName=").append(spuName);
        sb.append(", spuCode=").append(spuCode);
        sb.append(", spuSubtitle=").append(spuSubtitle);
        sb.append(", spuSubtitleEn=").append(spuSubtitleEn);
        sb.append(", spuBackCategoryId=").append(spuBackCategoryId);
        sb.append(", spuType=").append(spuType);
        sb.append(", headerPic=").append(headerPic);
        sb.append(", purchaseGroupId=").append(purchaseGroupId);
        sb.append(", purchaseTeamId=").append(purchaseTeamId);
        sb.append(", purchaserId=").append(purchaserId);
        sb.append(", purchaserName=").append(purchaserName);
        sb.append(", brandId=").append(brandId);
        sb.append(", manufactor=").append(manufactor);
        sb.append(", manufactorCode=").append(manufactorCode);
        sb.append(", isImport=").append(isImport);
        sb.append(", isDangerous=").append(isDangerous);
        sb.append(", isOverseas=").append(isOverseas);
        sb.append(", isLiquid=").append(isLiquid);
        sb.append(", isBrittle=").append(isBrittle);
        sb.append(", detail=").append(detail);
        sb.append(", saleUnit=").append(saleUnit);
        sb.append(", stockUnit=").append(stockUnit);
        sb.append(", isPurchaseByBox=").append(isPurchaseByBox);
        sb.append(", quantityInBox=").append(quantityInBox);
        sb.append(", quantityInSingle=").append(quantityInSingle);
        sb.append(", singleGrossWeight=").append(singleGrossWeight);
        sb.append(", singleNetWeight=").append(singleNetWeight);
        sb.append(", singleLength=").append(singleLength);
        sb.append(", singleWidth=").append(singleWidth);
        sb.append(", singleHeight=").append(singleHeight);
        sb.append(", originalBoxGrossWeight=").append(originalBoxGrossWeight);
        sb.append(", originalBoxLength=").append(originalBoxLength);
        sb.append(", originalBoxWidth=").append(originalBoxWidth);
        sb.append(", originalBoxHeight=").append(originalBoxHeight);
        sb.append(", packageQuantity=").append(packageQuantity);
        sb.append(", packageMaterial=").append(packageMaterial);
        sb.append(", packageList=").append(packageList);
        sb.append(", storeCondition=").append(storeCondition);
        sb.append(", isUnderBatchControl=").append(isUnderBatchControl);
        sb.append(", batchRules=").append(batchRules);
        sb.append(", remark=").append(remark);
        sb.append(", creator=").append(creator);
        sb.append(", modifier=").append(modifier);
        sb.append(", createdAt=").append(createdAt);
        sb.append(", updatedAt=").append(updatedAt);
        sb.append(", defaultSupplierId=").append(defaultSupplierId);
        sb.append(", isExpireDateManagement=").append(isExpireDateManagement);
        sb.append(", expiredDay=").append(expiredDay);
        sb.append(", saleTaxCode=").append(saleTaxCode);
        sb.append(", categoryTaxCode=").append(categoryTaxCode);
        sb.append(", source=").append(source);
        sb.append(", isSerialNoManage=").append(isSerialNoManage);
        sb.append(", mallSpuId=").append(mallSpuId);
        sb.append(", brochureUrl=").append(brochureUrl);
        sb.append(", saleTaxRatio=").append(saleTaxRatio);
        sb.append(", spuEnName=").append(spuEnName);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}